<%@ page language="C#" autoeventwireup="true" inherits="Manage_RuleSet_UserAdd, App_Web_useradd.aspx.7a5c883a" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
	<LINK href="../css.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language=javascript>
function Check1() {
var vtxtUsername=document.getElementById("txtUsername");
var vtxtPassword=document.getElementById("txtPassword");
var vtxtComfirmPwd=document.getElementById("txtComfirmPwd");
var vddlRule=document.getElementById("ddlRule");
					
if( vtxtUsername.value.length == 0 ){
alert("Field 'User Name' is not valid!");
vtxtUsername.focus();
return false;
}									
if( vtxtPassword.value.length == 0 ){
alert("Field 'Password' is not valid!");
vtxtPassword.focus();
return false;
}			
if( vtxtPassword.value != vtxtComfirmPwd.value ){
alert("Field 'Confirm Password' is not valid!");
vtxtComfirmPwd.focus();
return false;
}			
if( vddlRule.value.length == 0 ){
alert("Field 'Rule' is not valid!");
vddlRule.focus();
return false;
}					
		
return true;
}
</script>
</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
    <div>
	<table width="99%"  border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
              <td style="height: 40px" class="HeadText">Website Users</td>
            </tr>
            <tr>
              <td><table width="450" border="0" cellspacing="1" cellpadding="1" align="center" class="NormalText">
                <tr>
                  <td width="35%" height="26">User Name: </td>
                  <td style="width: 291px"><div align="left">
                      <asp:TextBox ID="txtUsername" runat="server" Width="200px"></asp:TextBox>
              &nbsp;</div></td>
                </tr>
                <tr>
                  <td height="26">Password:</td>
                  <td style="width: 291px"><div align="left">
                      <asp:TextBox ID="txtPassword" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
              &nbsp;</div></td>
                </tr>
                <tr>
                  <td height="26">Confirm Password:</td>
                  <td style="width: 291px"><div align="left">
                      <asp:TextBox ID="txtComfirmPwd" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
              &nbsp;</div></td>
                </tr>
                <tr>
                  <td height="26">Rule:</td>
                  <td style="width: 291px"><div align="left">
                      <asp:DropDownList ID="ddlRule" runat="server"> </asp:DropDownList>
              &nbsp;</div></td>
                </tr>
                <tr>
                  <td colspan="2" style="height: 26px"><div align="center">
                      <asp:Button ID="bnSave" runat="server" CssClass="submitBtn" Text=" Save " OnClick="bnSave_Click" />              
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="UserList.aspx">Return</a>
			  </div></td>
                </tr>
              </table></td>
            </tr>
      </table>
      </div>
    </form>
</body>
</html>
